<?php if (!defined('THINK_PATH')) exit();?>
<!-- 引入头文件 -->
<?php if(session('en')): ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php if($getConf['title'] != ''): echo ($getConf["title"]); endif; ?></title>
<meta name="keywords" content="<?php echo ($getConf["keywords"]); ?>"/>
<meta name="description" content="<?php echo ($getConf["description"]); ?>"/>
<link href="/Public/index/skin/style.css" rel="stylesheet" type="text/css" />
<script src="/Public/index/skin/js/focus.js" type="text/javascript"></script>

<!-- 导航栏 -->
<!-- <link type="text/css" href="/Public/index/css/16sucai.css" rel="stylesheet" /> -->
<!--[if lt IE 9]>
  <script src="js/html5.js"></script>
<![endif]-->
<script type="text/javascript" src="/Public/index/js/jquery.js"></script>
<script type="text/javascript" src="/Public/index/js/jquery.color-rgba-patch.js"></script>
<script type="text/javascript" src="/Public/index/js/example.js"></script>
<!-- 导航栏 -->


</head>
<body>
  

<div class="Header" >
    <div class="logo" >
      <a href="#">
      <img src="<?php echo ($getConf["logo_img"]); ?>" alt="LOGO is Missing" height="80" />
      </a>
    </div>
    <div class="r">
      <a href="<?php echo U('Index/index');?>" class="cn">简体中文</a>
      <a href="<?php echo U('Index/en_index');?>" class="en">English</a>

      <span>
      <form action="" name="search" id="search" onsubmit="javascript:return search_add();">
      <input type="text" name="keyword" id="keyword" class="input" onClick="JavaScript:this.value='';" onMouseOver="JavaScript:this.select();" value="产品搜索" />
      <input type="submit" name="button" id="button" value="" class="but" />
    </form>
     </span>
  </div>

    <!-- 导航条 -->
    <div class="nav">
    	<ul>
        	<li><a href="<?php echo U('Index/en_index');?>" class="tag">Home</a></li>
            <li><a href="<?php echo U('Company/about');?>">About Us</a></li>
            <li><a href="<?php echo U('Products/productsAll');?>">Products</a></li>
            <li><a href="<?php echo U('Company/news');?>">News</a></li>
            <li><a href="<?php echo U('Company/order');?>">Orders</a></li>
            <li><a href="<?php echo U('Company/feedback');?>">Feedback</a></li>
            <li><a href="<?php echo U('Company/contact');?>">ContactUs</a></li>
        </ul>
    </div>
  
  </div>

<script type="text/javascript" src="/Public/index/skin/js/jquery.js"></script>
<div class="flash">
<div id="slide-index">
        <div class="FlashIco">
        <div class="control"><a href="javascript:void(0);" class="active"></a><a href="javascript:void(0);" class=""></a><a href="javascript:void(0);" class=""></a></div>
        </div>
        <div class="slides">
    <div class="slide autoMaxWidth">        
      <div class="image" id='bi_0'><a href="index.html#"><img src="/Public/banners/<?php echo ($getConf["banner1"]); ?>" /></a></div>      
      <div class="text" id='bt_0'></div>
      <div class="button" id='bb_0'></div>
    </div>
    <div class="slide autoMaxWidth">        
      <div class="image" id='bi_1'><a href="index.html#"><img src="/Public/banners/<?php echo ($getConf["banner2"]); ?>" /></a></div>      
      <div class="text" id='bt_1'></div>
      <div class="button" id='bb_1'></div>
    </div>
    <div class="slide autoMaxWidth">        
      <div class="image" id='bi_2'><a href="index.html#"><img src="/Public/banners/<?php echo ($getConf["banner3"]); ?>" /></a></div>      
      <div class="text" id='bt_2'></div>
      <div class="button" id='bb_2'></div>
    </div>
    </div>
</div>
</div>
<script type="text/javascript" src="/Public/index/skin/js/banner.js"></script>

<?php else: ?>
  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php if($getConf['title'] != ''): echo ($getConf["title"]); endif; ?></title>
<meta name="keywords" content="<?php echo ($getConf["keywords"]); ?>"/>
<meta name="description" content="<?php echo ($getConf["description"]); ?>"/>
<link href="/Public/index/skin/style.css" rel="stylesheet" type="text/css" />
<script src="/Public/index/skin/js/focus.js" type="text/javascript"></script>

<!-- 导航栏 -->
<!-- <link type="text/css" href="/Public/index/css/16sucai.css" rel="stylesheet" /> -->
<!--[if lt IE 9]>
  <script src="js/html5.js"></script>
<![endif]-->
<script type="text/javascript" src="/Public/index/js/jquery.js"></script>
<script type="text/javascript" src="/Public/index/js/jquery.color-rgba-patch.js"></script>
<script type="text/javascript" src="/Public/index/js/example.js"></script>
<!-- 导航栏 -->


</head>
<body>
  

<div class="Header" >
    <div class="logo" >
      <a href="#">
      <img src="<?php echo ($getConf["logo_img"]); ?>" alt="LOGO建设中！" height="80" />
      </a>
    </div>
    <div class="r">
      <a href="<?php echo U('Index/index');?>" class="cn">简体中文</a>
      <a href="<?php echo U('Index/en_index');?>" class="en">English</a>

      <span>
      <form action="" name="search" id="search" onsubmit="javascript:return search_add();">
      <input type="text" name="keyword" id="keyword" class="input" onClick="JavaScript:this.value='';" onMouseOver="JavaScript:this.select();" value="产品搜索" />
      <input type="submit" name="button" id="button" value="" class="but" />
    </form>
     </span>
  </div>

    <!-- 导航条 -->
    <div class="nav">
    	<ul>
        	<li><a href="<?php echo U('Index/index');?>" class="tag">首页</a></li>
            <li><a href="<?php echo U('Company/about');?>">关于我们</a></li>
            <li><a href="<?php echo U('Products/productsAll');?>">产品展示</a></li>
            <li><a href="<?php echo U('Company/news');?>">新闻资讯</a></li>
            <li><a href="<?php echo U('Company/order');?>">在线订单</a></li>
            <li><a href="<?php echo U('Company/feedback');?>">客户反馈</a></li>
            <li><a href="<?php echo U('Company/contact');?>">联系我们</a></li>
        </ul>
    </div>
  
  </div>

<script type="text/javascript" src="/Public/index/skin/js/jquery.js"></script>
<div class="flash">
<div id="slide-index">
        <div class="FlashIco">
        <div class="control"><a href="javascript:void(0);" class="active"></a><a href="javascript:void(0);" class=""></a><a href="javascript:void(0);" class=""></a></div>
        </div>
        <div class="slides">
    <div class="slide autoMaxWidth">        
      <div class="image" id='bi_0'><a href="index.html#"><img src="/Public/banners/<?php echo ($getConf["banner1"]); ?>" /></a></div>      
      <div class="text" id='bt_0'></div>
      <div class="button" id='bb_0'></div>
    </div>
    <div class="slide autoMaxWidth">        
      <div class="image" id='bi_1'><a href="index.html#"><img src="/Public/banners/<?php echo ($getConf["banner2"]); ?>" /></a></div>      
      <div class="text" id='bt_1'></div>
      <div class="button" id='bb_1'></div>
    </div>
    <div class="slide autoMaxWidth">        
      <div class="image" id='bi_2'><a href="index.html#"><img src="/Public/banners/<?php echo ($getConf["banner3"]); ?>" /></a></div>      
      <div class="text" id='bt_2'></div>
      <div class="button" id='bb_2'></div>
    </div>
    </div>
</div>
</div>
<script type="text/javascript" src="/Public/index/skin/js/banner.js"></script><?php endif; ?>

<!-- <div class="BannerProducts"></div> -->
<div class="Content">
    
   
    <?php if(session('en')): ?><!-- 目录列表 -->
<div class="ContentLeft">
    	<div class="menu">
        	<h3>Category</h3>
            <ul id="nav">
              <?php if(is_array($getCate)): foreach($getCate as $key=>$cate1): ?><li class="no">
                <a href="<?php echo U('Products/products',array('cateid'=>$cate1['id']));?>"><?php echo ($cate1["encatename"]); ?></a>
                    <!-- 如果没有子目录则不显示二级目录 -->
                    <?php  if(!empty($cate1['sub']) && is_array($cate1['sub'])){ ?>
                        <ul>

                          <?php if(is_array($cate1['sub'])): foreach($cate1['sub'] as $key=>$cate2): ?><li><a href="<?php echo U('Products/products',array('cateid'=>$cate2['id']));?>"><?php echo ($cate2["encatename"]); ?></a></li><?php endforeach; endif; ?>
                                              
                        </ul>
                      <?php  } ?>
      
              </li><?php endforeach; endif; ?>
	
	
	         </ul>
      </div>
    </div>
    <?php else: ?>
       <!-- 目录列表 -->
<div class="ContentLeft">
    	<div class="menu">
        	<h3>产品分类</h3>
            <ul id="nav">
              <?php if(is_array($getCate)): foreach($getCate as $key=>$cate1): ?><li class="no">
                <a href="<?php echo U('Products/products',array('cateid'=>$cate1['id']));?>"><?php echo ($cate1["catename"]); ?></a>
                    <!-- 如果没有子目录则不显示二级目录 -->
                    <?php  if(!empty($cate1['sub']) && is_array($cate1['sub'])){ ?>
                        <ul>

                          <?php if(is_array($cate1['sub'])): foreach($cate1['sub'] as $key=>$cate2): ?><li><a href="<?php echo U('Products/products',array('cateid'=>$cate2['id']));?>"><?php echo ($cate2["catename"]); ?></a></li><?php endforeach; endif; ?>
                                              
                        </ul>
                      <?php  } ?>
      
              </li><?php endforeach; endif; ?>
	
	
	         </ul>
      </div>
    </div><?php endif; ?>

	<div class="ContentRight">
		<div class="Links1"><a href="<?php echo U('Index/index');?>" class="home"><?php if(session('en')): ?>Home<?php else: ?>首页<?php endif; ?></a> &gt; <a href="<?php echo U('Products/productsAll');?>"><?php if(session('en')): ?>Product Center<?php else: ?>产品中心<?php endif; ?></a>
        <div class="Productview">
        	<h1 style="font-size: 24px;"><?php echo ($getProductInfo["ename"]); ?></h1>
            <div class="pic" style="text-align: center"><img src="/Public/product_img<?php echo ($getProductInfo["product_img"]); ?>" width="500" /></div>
            <div class="text">
            
            

            </div>

            <div class="text" style="border:solid;border-width: 1px;border-color: #e8e8e8;  margin-top: 30px;height: 250px;">
                <div style="padding-left:20px; font-size: 16px;"><?php echo ($getProductInfo["endetails"]); ?></div>

            </div>
            <!-- <ul class="next"><li class="r">下一个：<a href="http://www.wvsseal.com/view.asp?id=2">4BD1双脚传感器</a></li></ul> -->
        </div>
    </div>
	<div class="clr"></div>
</div>

<?php if(session('en')): ?><div class="Foot" style="position: relative;z-index: 99;margin-bottom: 0;">
<a href="<?php echo U('Company/en_about');?>">Company Profile</a>|<a href="<?php echo U('Company/en_about');?>">Company Culture</a>|<a href="<?php echo U('Company/en_about');?>">After-sale Service</a>|<a href="<?php echo U('Company/en_feedback');?>">Feedback</a>|<a href="<?php echo U('Company/order');?>">Online Orders</a>|<a href="<?php echo U('Company/contact');?>">Contacts</a><br />
<?php echo ($getConf["bottom_info"]); ?>
<br></div>

<!-- <div style="z-index: 999; position: absolute; width: 120px; visibility: visible; top: 130px; right: 5px" id="lovexin14">
<div class="top"><img style="cursor: pointer" border="0" width="120" onclick="document.getElementById('lovexin14').style.display='none';return false;" alt="在线QQ" src="/Public/index/skin/img/qq_top.gif" /></div>
<div class="qq">
	<ul>
    	<li>客服1<a target="blank" href="tencent://message/?uin=<?php echo ($getConf["custom_qq1"]); ?>&amp;Site=在线客服&amp;Menu=yes"><img src="http://wpa.qq.com/pa?p=1:<?php echo ($getConf["custom_qq1"]); ?>:7" /></a></li>
        <li>客服2<a target="blank" href="tencent://message/?uin=<?php echo ($getConf["custom_qq2"]); ?>&amp;Site=在线客服&amp;Menu=yes"><img src="http://wpa.qq.com/pa?p=1:<?php echo ($getConf["custom_qq2"]); ?>:7" /></a></li>
        <li>客服3<a target="blank" href="tencent://message/?uin=<?php echo ($getConf["custom_qq3"]); ?>&amp;Site=在线客服&amp;Menu=yes"><img src="http://wpa.qq.com/pa?p=1:<?php echo ($getConf["custom_qq3"]); ?>:7" /></a></li>
    </ul>
</div>
<div style="background:url(/Public/index/skin/img/qq_bottom.gif) no-repeat 0 bottom; height: 43px; "></div> -->
<script type="text/javascript">
<!--
lastScrollY=0;
function heartBeat(){ 
var diffY;
if (document.documentElement && document.documentElement.scrollTop)
	diffY = document.documentElement.scrollTop;
else if (document.body)
	diffY = document.body.scrollTop
else{}
percent=.1*(diffY-lastScrollY); 
if(percent>0)percent=Math.ceil(percent); 
else percent=Math.floor(percent); 
document.getElementById("lovexin14").style.top=parseInt(document.getElementById("lovexin14").style.top)+percent+"px";
lastScrollY=lastScrollY+percent; 
}
window.setInterval("heartBeat()",1);
//-->
</script></div>
</body>
</html>
<?php else: ?>
  
<div class="Foot" style="position: relative;z-index: 99;margin-bottom: 0;">
<a href="<?php echo U('Company/about');?>">公司简介</a>|<a href="culture.html">企业文化</a>|<a href="service.html">售后服务</a>|<a href="feedback.html">客户留言</a>|<a href="order.html">在线定单</a>|<a href="<?php echo U('Company/contact');?>">联系方式</a><br />
<?php echo ($getConf["bottom_info"]); ?>
<br></div>

<!-- <div style="z-index: 999; position: absolute; width: 120px; visibility: visible; top: 130px; right: 5px" id="lovexin14">
<div class="top"><img style="cursor: pointer" border="0" width="120" onclick="document.getElementById('lovexin14').style.display='none';return false;" alt="在线QQ" src="/Public/index/skin/img/qq_top.gif" /></div>
<div class="qq">
	<ul>
    	<li>客服1<a target="blank" href="tencent://message/?uin=<?php echo ($getConf["custom_qq1"]); ?>&amp;Site=在线客服&amp;Menu=yes"><img src="http://wpa.qq.com/pa?p=1:<?php echo ($getConf["custom_qq1"]); ?>:7" /></a></li>
        <li>客服2<a target="blank" href="tencent://message/?uin=<?php echo ($getConf["custom_qq2"]); ?>&amp;Site=在线客服&amp;Menu=yes"><img src="http://wpa.qq.com/pa?p=1:<?php echo ($getConf["custom_qq2"]); ?>:7" /></a></li>
        <li>客服3<a target="blank" href="tencent://message/?uin=<?php echo ($getConf["custom_qq3"]); ?>&amp;Site=在线客服&amp;Menu=yes"><img src="http://wpa.qq.com/pa?p=1:<?php echo ($getConf["custom_qq3"]); ?>:7" /></a></li>
    </ul>
</div>
<div style="background:url(/Public/index/skin/img/qq_bottom.gif) no-repeat 0 bottom; height: 43px; "></div> -->
<script type="text/javascript">
<!--
lastScrollY=0;
function heartBeat(){ 
var diffY;
if (document.documentElement && document.documentElement.scrollTop)
	diffY = document.documentElement.scrollTop;
else if (document.body)
	diffY = document.body.scrollTop
else{}
percent=.1*(diffY-lastScrollY); 
if(percent>0)percent=Math.ceil(percent); 
else percent=Math.floor(percent); 
document.getElementById("lovexin14").style.top=parseInt(document.getElementById("lovexin14").style.top)+percent+"px";
lastScrollY=lastScrollY+percent; 
}
window.setInterval("heartBeat()",1);
//-->
</script></div>
</body>
</html><?php endif; ?>
</body>
</html>